<script setup lang="ts">
import {RouterView} from 'vue-router'
import {onUnmounted} from "vue";
import {useCommonStore} from "@/stores/common";
import {useUserInfoStore} from "@/stores/user_info";

const commonStore = useCommonStore();
const userInfoStore = useUserInfoStore();
onUnmounted(() => {
  commonStore.folderIndex = 0;
  commonStore.isOpenTaskList = false;
  commonStore.breadcrumbs.length = 0;
})
</script>

<template>
    <RouterView/>
</template>

<style scoped>

</style>
